package com.lingnan.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lingnan.pojo.Active;
import com.lingnan.pojo.Collect;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 收藏表 服务类
 * </p>
 *
 * @author 梁兴达
 * @since 2022-03-06
 */
public interface CollectService extends IService<Collect> {

    List<Active> collectList(String no);
    boolean deleteCollect(Integer id, String no);
    Collect selectByIdAndNo(Integer id, String no);
    boolean updateUseful(Integer id, String no);
}
